#ifndef _UNIQUE_ID_H_
#define _UNIQUE_ID_H_

#include <sys/types.h>
#include <time.h>

class UniqueID
{
public:
	time_t Time ;
	int SerialNumber ;

	static int GlobalTime ;
	static int GlobalSerialNumber ;

public:
	bool operator==(UniqueID&)const;
	bool operator!=(UniqueID&)const;

	void GenerateID();	
};

#endif